package com.training1.core.entity;



import java.text.SimpleDateFormat;
import java.util.Date;

import org.apache.ibatis.type.Alias;

import scala.sys.process.ProcessBuilderImpl.Simple;

import com.training1.core.common.entity.DataEntity;

import freemarker.template.SimpleDate;


@Alias("Remind")
public class RemindEntity extends DataEntity{
	
	/**
	 * 合同提醒
	 */
	private static final long serialVersionUID = 5608799216669341214L;
	
	private String customerId;//客户id
	
	private String remMemo;//提醒内容
	
	private Date expRemDate;//预计提醒日期
	private String expRemDateStr;//预计提醒日期格式化
	
	private Date actRemDate;//实际提醒日期
	private String actRemDateStr;//日期格式化
	
	private String isValid;//状态
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public String getRemMemo() {
		return remMemo;
	}
	public void setRemMemo(String remMemo) {
		this.remMemo = remMemo;
	}
	public Date getExpRemDate() {
		return expRemDate;
	}
	public void setExpRemDate(Date expRemDate) {
		this.expRemDate = expRemDate;
		if(null != expRemDate){
			SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd");
			this.setExpRemDateStr(sf.format(expRemDate));
		}
	}
	public String getExpRemDateStr() {
		return expRemDateStr;
	}
	public void setExpRemDateStr(String expRemDateStr) {
		this.expRemDateStr = expRemDateStr;
	}
	public Date getActRemDate() {
		return actRemDate;
	}
	public void setActRemDate(Date actRemDate) {
		this.actRemDate = actRemDate;
		if(null != actRemDate){
			SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd");
			this.setActRemDateStr(sf.format(actRemDate));
		}
	}
	public String getActRemDateStr() {
		return actRemDateStr;
	}
	public void setActRemDateStr(String actRemDateStr) {
		this.actRemDateStr = actRemDateStr;
	}
	public String getIsValid() {
		return isValid;
	}
	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

	
	
	
}
